WP_Defender\Component\Two_Factor\Providers\Totp S

Total Complexity 40
Dependencies 7
Dependents 3
Total lines 360
Lines of code 179
Logical lines of code 86
Comment lines 89
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
user_options()
A
44 6 48
verify_otp()
S
56 6 16
get_user_secret()
S
60 5 13
generate_otp()
S
52 4 21
validate_authentication()
S
56 4 20
init_provider()
S
61 4 12
save_setup_key()
S
67 2 8
__construct()
S
74 1 4
get_label()
S
78 1 3
get_login_label()
S
79 1 3
get_user_label()
S
79 1 3
get_description()
S
82 1 3
authentication_form()
S
68 1 8
get_auth_apps()
S
69 1 7
generate_qr_code()
S
66 1 7
is_available_for_user()
S
78 1 3